package com.cpr.ams.mapper;

import com.cpr.ams.bean.BaseRolePrivilege;
import com.cpr.ams.bean.BaseRolePrivilegeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseRolePrivilegeMapper {
    long countByExample(BaseRolePrivilegeExample example);

    int deleteByExample(BaseRolePrivilegeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseRolePrivilege record);

    int insertSelective(BaseRolePrivilege record);

    List<BaseRolePrivilege> selectByExample(BaseRolePrivilegeExample example);

    BaseRolePrivilege selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BaseRolePrivilege record, @Param("example") BaseRolePrivilegeExample example);

    int updateByExample(@Param("record") BaseRolePrivilege record, @Param("example") BaseRolePrivilegeExample example);

    int updateByPrimaryKeySelective(BaseRolePrivilege record);

    int updateByPrimaryKey(BaseRolePrivilege record);
}